package com.bbzn.device.client.dao.history;

import com.bbzn.device.client.dataobject.TemperatureHis;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TemperatureHisMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TemperatureHis record);

    int insertOrUpdate(TemperatureHis record);

    int insertOrUpdateSelective(TemperatureHis record);

    int insertSelective(TemperatureHis record);

    TemperatureHis selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TemperatureHis record);

    int updateByPrimaryKey(TemperatureHis record);

    List<TemperatureHis> findByAll(TemperatureHis temperatureHis);

    int deleteByImei(@Param("imei") String imei);

    int updateBatch(List<TemperatureHis> list);

    int updateBatchSelective(List<TemperatureHis> list);

    int batchInsert(@Param("list") List<TemperatureHis> list);
}